import { ADD_COUNT, CHANGE_AGE } from "./type";

export const addCount = (value) => {
  return {
    type: ADD_COUNT,
    payload: value
  }
}

export const changeAge = (value) => {
  return {
    type: CHANGE_AGE,
    payload: value
  }
}